package com.hqyj.dao;

import com.hqyj.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Employee record);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);

    //查看所有签到记录
   // List<Employee> selectByPrimaryKeySigninSignout();
    //查询某条签到记录
    List<Employee> selectByEnumber(int eNumber);
    //模糊查询，姓名，部门
    List<Employee> selectBy( Employee e);

    Employee select(Employee e);

    List<Employee> selectList(Employee employee);


    //根据用户名查英文职位
    List<String> selectJobNameByEName(String eName);

    //用户名重名查询
    String SelectEnameByEname(String eName);

}